/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Inter', sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#F8FAFC;
    padding:20px;
}

/* =========================
   FORM CARD
========================= */

body > div{
    width:100%;
    max-width:550px;
    /* background:#fff; */
    /* border-radius:24px; */
    padding:40px;
    /* box-shadow:0 15px 40px rgba(15,23,42,.08); */
    position:relative;
    overflow:hidden;
}

body > div::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(
        90deg,
        #2563EB,
        #06B6D4
    );
}


#main{
    margin-bottom:30px;
}

#main h1{
    font-size:34px;
    color:#0F172A;
    position:relative;
    padding-left:18px;
}

#main h1::before{
    content:"";
    position:absolute;
    left:0;
    top:5px;
    width:6px;
    height:38px;
    border-radius:20px;
    background:linear-gradient(
        180deg,
        #2563EB,
        #06B6D4
    );
}

/* =========================
   LABELS
========================= */

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#0F172A;
}

/* =========================
   INPUTS
========================= */

input{
    width:100%;
    height:55px;
    border:2px solid #E2E8F0;
    border-radius:14px;
    background:#F8FAFC;
    padding:0 16px;
    font-size:15px;
    margin-bottom:18px;
    transition:.3s;
}

input:focus{
    outline:none;
    border-color:#2563EB;
    background:#fff;
    box-shadow:0 0 0 4px rgba(37,99,235,.15);
}

/* =========================
   BUTTON
========================= */

button{
    width:100%;
    height:55px;
    border:none;
    border-radius:14px;
    background:linear-gradient(
        135deg,
        #2563EB,
        #06B6D4
    );
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
    margin-top:10px;
}

button:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(37,99,235,.30);
}

/* =========================
   LOGIN LINK
========================= */

p{
    text-align:center;
    margin-top:20px;
    color:#64748B;
}

p a{
    text-decoration:none;
    color:#2563EB;
    font-weight:600;
}

p a:hover{
    color:#06B6D4;
}

/* =========================
   ERROR MESSAGES
========================= */

.error-message{
    margin-bottom:15px;
    font-size:14px;
}

/* Inline error divs */
div[style*="background: #ffdada"]{
    border-left:4px solid #EF4444;
    margin-bottom:15px;
    color:#DC2626 !important;
    background:#FEF2F2 !important;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    body{
        padding:15px;
    }

    body > div{
        padding:25px;
    }

    #main h1{
        font-size:28px;
    }

}